import request from '../utils/request.js'

function getuserinfo () {
  return request({
    url: '/au/info',
    needToken: true
  })
}
function changedata (data) {
  return request({
    url: '/au/edit',
    method: 'post',
    data,
    needToken: true
  })
}
function uploadchange (data) {
  return request({
    url: '/upload',
    method: 'post',
    data,
    needToken: true
  })
}

export { getuserinfo, changedata, uploadchange }
